<script setup lang="ts">
import {defineExpose, watch} from "vue";

const props = defineProps({
  cusId:{
    type: Number,
    required: true
  },mini:{
    type: Boolean,
    required: true
  }
})

watch(()=>props.cusId, () => {
  console.log('log')
},{immediate: true})

const emit = defineEmits(['success']);

const init = () => {
  console.log('log-ini');
}

defineExpose({ init })

</script>

<template>
log
</template>

<style scoped lang="scss">

</style>